home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 2 / MacMania 2.toast / Demo's / Tools&Utilities / Netwerk⁄Telecom / NTP Client 1.0 / README < prev   
Encoding:
Text File  |  1993-09-11  |  15.0 KB  |  158 lines  |  [ttro/ttxt]

  1.  
  2.  
  3.  
  4.  
  5.  
  6. Revised: September 11, 1993
  7.  
  8. NTP for Macintosh is a set of software components which synchronize the system clock of the Macintosh with other computers in a network. NTP for Macintosh is based upon the Internet standard Network Time Protocol, Version 2, as described in RFC 1119. This protocol is widely used within the TCP/IP community. The protocol features high reliability, low overhead, and can provide accuracy to 232 picoseconds. The protocol distributes time in a tree topology using clients, servers, peers, and broadcast technology.
  9.  
  10. NTP for Macintosh is implemented as a pair of Control Panel devices (containing a pair of corresponding INITs and one device driver) for the Macintosh Operating System, and optional software for Apple’s A/UX and DEC’s VAX/VMS operating systems. NTP for Macintosh can use either AppleTalk (DDP), or IP (UDP), or both, as the transport protocol. These protocols are used for their extremely low overhead. The NTP upper level protocol is error resistant and is intended to work with datagram–oriented transport protocols. It can work effectively even in congested networks.
  11.  
  12. NTP for Macintosh is a suite of software and accompanying documentation. This shareware distribution contains only the NTP Client software and minimal documentation (this file). The remainder of the software is described in the executive summary, included with this distribution, and with the documentation available from the author.
  13.  
  14.  
  15.  
  16.  
  17. Both the NTP Client and NTP Server for the Macintosh Operating System support the following features.
  18.  
  19. •  Implements Version 2 of the Network Time Protocol; compatible with both Version 3 and Version 1 implementations
  20.  
  21. •  Works on any model Macintosh running System 6.0.5 or later software (it is System 7 friendly).  Any Macintosh can be a client as well as a server.
  22.  
  23. •  Compatible with AppleTalk Phases 1 and 2 (LocalTalk, EtherTalk, and TokenTalk)
  24.  
  25. •  Runs quietly, asynchronously in the background; never ties up the Macintosh
  26.  
  27. •  Supports balloon help (System 7 only) for all dialogs and controls
  28.  
  29. •  32-bit clean
  30.  
  31. •  AppleTalk transition event aware
  32.  
  33. •  Compatible with dial-in AppleTalk products such as AppleTalk Remote Access (ARA), Liaison, and Timbuktu
  34.  
  35. •  Compatible with other servers such as Apple’s AppleShare, Microsoft’s Mail Server, and CE Software’s QuickMail
  36.  
  37. •  PowerManager aware for PowerBooks and Portables
  38.  
  39. •  Virtual Memory compatible (System 7 only)
  40.  
  41. •  Supports MacTCP and any supported link access protocols including Ethernet, SL/IP, LocalTalk, EtherTalk, and others
  42.  
  43. •  Allows you to synchronize your machine to a corporate (local) time standard or to a national time standard (such as WWV managed by NIST, via the Internet)
  44.  
  45. •  Extremely easy to configure.  Configurations can be created and locked; distributing pre-configured software around a campus is easy.
  46.  
  47. •  Current implementation maintains accuracy to ±1.9 seconds
  48.  
  49. •  API provides services for other applications (time stamps, time conversion, UTC offset, DST values, clock synchronization status and performance, etc.)
  50.  
  51. NTP Client
  52.  
  53. •  The NTP client, server, and broadcast server modes (3, 4, and 5) are supported; the symmetric and reserved modes (1, 2, 6, and 7) are not currently implemented
  54.  
  55. •  Supports communication with one server and/or one broadcast server
  56.  
  57. •  Automatically compensates for the local offset from UTC (GMT) based upon geographic location as set in the Map Control Panel
  58.  
  59. •  Automatically adjusts the clock to account for any local Daylight Savings Time policy using easy to configure dialogs
  60.  
  61. NTP Server
  62.  
  63. •  The server (MacOS) software supports NTP, DATE (UDP only) as described in RFC 867, and TIME (UDP only) as described in RFC 868
  64.  
  65. •  May serve any number of clients
  66.  
  67. •  Can be configured to act as a broadcast NTP server
  68.  
  69. •  May be optionally configured as a primary (stratum 1) server for isolated networks
  70.  
  71.  
  72.  
  73.  
  74. Macintosh OS System 6.0.5 or later is required. MultiFinder is not needed. The software provided in this distribution will •not• run under A/UX.
  75.  
  76. Make sure that the name for the Macintosh has been set.  In System 6 this is set via the Chooser in the field “User Name.” In System 7 this is set via the “Sharing Setup” Control Panel, in the “Macintosh Name” field.
  77.  
  78. Make sure that AppleTalk is “Active” in the Chooser (both System 6 and System 7).
  79.  
  80. Set the geographic location. To set the geographic location of the Macintosh for both System 6 and 7, use the Map Control Panel.
  81.  
  82. If TCP/IP will be used, make sure that MacTCP, V1.0.2 or later, is properly installed.
  83.  
  84. Delete any old versions of the NTP Client software you may have, including the preferences file. (This applies primarily to beta testers.) Restart the Macintosh if any old versions were present.
  85.  
  86. Insert the NTP for Macintosh distribution floppy into your floppy drive and double click on the floppy icon to open the disk. Drag the NTP Client icon onto your System Folder. (System 7 users will be asked if the file should be placed in the Control Panels folder, which it should.) Open the Control Panel from the Apple menu and select the NTP Client.
  87.  
  88. Select a network protocol to use. If you will be using an NTP time server over AppleTalk, make sure the “AppleTalk” Network Protocol button is pressed. Alternatively, if you will be using an NTP time server over an IP network, make sure the “TCP/IP” Network Protocol button is pressed.
  89.  
  90. Make sure the check box labeled “Enable at StartUp” is checked. If you would like to see the startup icon for the NTP Client when the Macintosh is booted, check the button labeled “Show icon at StartUp.”
  91.  
  92. Configure the software for the local Daylight Savings Time policy. Click on the button labeled “DST Settings…” to bring up the first of three dialogs. In the first dialog, if your locale does not observe Daylight Savings Time, click on the “is not” button and dismiss the dialog by clicking on the “OK” button. If your locale does observe Daylight Savings Time, click on the “is” button; adjust the hours:minutes:seconds offset to the correct value by clicking on a part and adjusting that part up or down using the arrows to the right. (The correct value for the United States is 1:00:00.) When done, click on “More…” Now configure the software for the starting and ending dates for Daylight Savings Time. By default, the correct values for the United States are shown. If this is correct, click on “More…” in the second dialog, and “OK” in the third dialog. (Note that it is important for users in areas which support Daylight Savings Time to go through all three dialogs and verify the configuration once.)
  93.  
  94. Configure the software for a time server. If you are setting up an NTP Client to receive broadcast messages only (i.e., do not directly poll a server), skip this paragraph and go on to the next. Otherwise, click on the “Servers…” button. If using AppleTalk, servers in the current zone are shown. All zones in the AppleTalk internetwork are available through the popup menu. Select a zone and server by either double clicking on the server or pressing the “Select” button. If using MacTCP, hosts in the Hosts file (of your System Folder) are shown. If no hosts are displayed, edit the Hosts file to contain the name and address of the server you want to use. In the Servers dialog, select an IP server by either double clicking on the host name or pressing the “Select” button. When finished, click on the “Done” button. If you are unsure where the NTP server(s) is(are) in your network or need help editing the Hosts file, please contact your local network administrator.
  95.  
  96. If your installation uses broadcast NTP services (either IP or AppleTalk) click on the “Accept Broadcasts” check box to permit receipt of these packets.
  97.  
  98. After the NTP Client has been configured correctly, close the Client Control Panel. Restart your Macintosh by selecting the “Restart” item from the “Special” menu of the Finder. After the machine has restarted, you can watch the progress of the NTP Client from the Control Panel. If the software is correctly configured and communications are established, the Macintosh should begin to synchronize with the server in about four minutes.
  99.  
  100.  
  101.  
  102.  
  103. Over a year and a half of development and testing have gone into the first release of NTP for Macintosh. The goal has been to develop a product that delivers the features, performance, and reliability that users need for quality time service. However, in spite of this work, a number of incompatibilities have been discovered. As always, the author is committed to eliminating any and all incompatibilities where possible. Below is a list of the current known incompatibilities and their workarounds, if any.
  104.  
  105. Microsoft Mail and DAL won’t play together. So what has this got to do with NTP for Macintosh? Well, the interaction is so violent that NTP for Macintosh is prevented from running. Try running either Microsoft Mail or DAL, but not both. NTP for Macintosh may be used with either.
  106.  
  107. When booting a machine that has the Microsoft Mail Server installed, and holding down the “M” key to temporarily disable loading of the Mail Server, NTP Client will also fail to load. There is no currently known workaround.
  108.  
  109. CE Software’s CEToolbox system extension must load after the NTP Client or a system error (crash) will result. CEToolbox is part of QuickMail, QuickKeys, and other products from CE Software. To resolve the conflict, put a ~ in front of the CEToolbox file name and any other software which uses it such as QuickInit. For example, these files should be renamed ~CEToolbox and ~QuickInit, respectively. System 7 users should then move the renamed files to the System Folder. This will force the CE software to load after NTP Client. CE Software has been notified of the problem (June 30, 1993) and has yet to respond.
  110.  
  111. In order for the broadcast mechanism of AppleTalk to work, a fixed socket must be used. This implementation uses socket 123 (the same as the UDP port number) which is in the statically assigned, unrestricted experimental use range. This service is valuable enough that it is (in the author’s opinion) worthwhile to use a fixed socket and hope that Apple will allocate a fixed socket for this purpose in the future. However, for the present, if you have any applications that make use of this socket or others in the reserved experimental range, you will experience difficulty. (The author is only familiar with one commercial application that uses these sockets: Timbuktu from Farallon. You can prevent Timbuktu from interfering with the NTP Client by disabling the use of socket 123 in Timbuktu.  See Appendix B of the Timbuktu manual for further details.)
  112.  
  113.  
  114.  
  115.  
  116. When using MacTCP, the domain name resolver will only list a few of the hosts in the Hosts file. The number of hosts listed seems to be, in part, a function of the amount of memory installed in the system. Make sure the host that you will be using for a server is listed near the beginning of this file. MacTCP is not capable of supporting IP broadcast networks which use a hostid portion of the destination address of all 0s; a hostid of all 1s can be used. This is (usually) only an issue for networks where older Suns are in use.
  117.  
  118. The NTP Client is prevented from accessing any of the known Internet stratum 0 and 1 servers. The Macintosh is simply not accurate enough to deserve this benefit. This is an intentional restriction.
  119.  
  120. The NTP Client must load after MacTCP during the boot sequence if IP protocols are going to be used.
  121.  
  122.  
  123.  
  124.  
  125. This distribution contains the following items: NTP Client software, TeachText README file, and an executive summary in PostScript. If the distribution that you have does not contain exactly these items, then the distribution may have been altered! The executive summary file contains a 6 page summary of the NTP for Macintosh product line.
  126.  
  127.  
  128.  
  129.  
  130. The NTP Client software is available as shareware for a suggested price of $25, in U.S. funds, per copy. (For your own protection, please do not send cash. Some form of check is your best bet.) Please make your check payable to John Dundas. Upon payment of the shareware fee, you will receive one copy of the User’s Manual (a 60 page manual that describes all of the available software including the servers for Macintosh, A/UX, and VAX/VMS), will become a registered user, and will be notified of future upgrades to the software.  Site licensing and volume discounts are available; contact the author for details.
  131.  
  132. The NTP Server software for the Macintosh, A/UX, and VAX/VMS operating systems is available at a modest price directly from the author.
  133.  
  134. For more details, contact the author at:
  135.  
  136.         John Dundas
  137.         P.O. Box 50784
  138.         Pasadena, CA  91115
  139.  
  140.  
  141.  
  142. This document, and the software it describes, are ©Copyright 1993 by John A. Dundas III. All rights reserved.
  143.  
  144. This software is being distributed as “shareware.” This has a number of implications. Try the software.  If you like or need the function that it performs, use it. If you use the software, send in the shareware fee. If you don’t use it, erase the software from your machine. You may not rent, lease, or otherwise charge a use fee for this software or its accompanying documentation. If you give a copy of the software to someone else, you must give them an unaltered copy of the original distribution. You are not authorized to alter and distribute this software in any way. You are on your honor to follow these guidelines. Recipients of this software are bound by the same shareware principles.
  145.  
  146. If this software becomes mission critical to your facility, you are advised to obtain the distribution directly from the author. In this way you are assured of an uncorrupted original distribution.
  147.  
  148. Note to employees of the Jet Propulsion Laboratory: Please do not send in your shareware fee. I am an employee of JPL and while this software was not developed using Lab resources and is in no way connected with JPL, NASA, Caltech, or my work at JPL, it is a conflict of interest for me to accept money from the Lab for this product.  (Unfortunately this also means that you won’t be able to obtain the manual or any of the servers.) For JPL use only, the NTP Client may be used for free. If you use it in any venture outside of JPL, however, its use is subject to the terms of shareware. For the same reasons given previously, I cannot accept calls requesting support during business hours.
  149.  
  150.  
  151.  
  152.  
  153. You use this software at your own risk. While every effort has been made to insure that the software is both bug and virus free, under no circumstances will the author be held liable for any damages that may occur either directly or indirectly from the use of this software. If these terms and conditions are unacceptable to you, do not use this software.
  154.  
  155. This software is provided “as is” without any warranty of any kind. The author expressly disclaims all warranties, either expressed or implied, including but not limited to, implied warranties of merchantability and fitness for any particular purpose, with respect to the software and the accompanying documentation.
  156.  
  157. In no event shall the author be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use or inability to use this product.
  158.